# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
pkgname=draw
pkgver=0.1.1
pkgrel=5
pkgdesc="Draw in your terminal"
url="https://github.com/maaslalani/draw"
arch="all"
license="MIT"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/maaslalani/draw/archive/v$pkgver.tar.gz"

build() {
	go build -o draw
}

check() {
	go test ./...
}

package() {
	install -Dm755 ./draw "$pkgdir"/usr/bin/draw
}

sha512sums="
60cf79fe27e42e303e5a642602cebd80cdf7364a60f7885c0277c25d925cba522ec6f35bf7584a1c5a7a52da361e65ed5959a6acb1bfe572f59346fcfc25a644  draw-0.1.1.tar.gz
"
